<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.List,joshua.web.beans.UserThreadBean,java.util.Map" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Joshua Blog</title>
</head>
<body>
<%
List<Map<String, Object>> threadList = (List<Map<String, Object>>)request.getAttribute("userThreadBundle");
for (Map<String, Object> threadDat: threadList) {
	out.println("UserName:" + threadDat.get("userName"));
	out.println("<br/>");
	out.println("UpdateDate: " + threadDat.get("updateDate"));
	out.println("<br/>");
	out.println("Detail: " + threadDat.get("detail"));
	out.println("<br/>");
	out.println(String.format("<a href='/jsp-mvc-framework/threaddel?threadId=%d'>DEL</a>", threadDat.get("threadId")));
	out.println("<br/>--------------------------------------<br/>");
}
//ResultSet r = null;
%>


</body>
</html>